<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="org.lsms.dao.impl.*" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>Member View Note Page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="LSMS,ICSEE,MEMBER">
	
	<link rel="stylesheet" type="text/css" href="../css/author_layout.css">
	<link rel="stylesheet" type="text/css" href="../css/hyper_link_style.css">

  </head>
  
  <body>
	<div id="container">
		<div id="header" class="logo_image"></div>
		<div class="nav"></div>
		<div id="author_menu" class="border">
			<table border="0" width="100%"  >
				<tr>
					<td  bgcolor="#CCCCCC"><a href="../index.jsp">Home</a></td>
				</tr>
				<tr>
					<td  bgcolor="#CCCCCC"><a href="select_topic.jsp">Select Topics</a></td>
				</tr>
				<tr>
				<%
					DaoImpl impl = new DaoImpl();
					HashMap<String,Integer> hm = impl.get_site_setting();
					int reviewer_invite = hm.get("reviewer_invite");
					if(reviewer_invite==1){
				 %>
					<td  bgcolor="#CCCCCC"><a href="invite_reviewer.jsp">Invite Reviewer</a></td>
				<%
					}else{
				 %>
				 	<td  bgcolor="#CCCCCC"><a href="../error/invite_reviewer_forbidden.jsp">Invite Reviewer</a></td>	
				<%
					}
				 %>	
				</tr>
				<tr>
					<td  bgcolor="#CCCCCC"><a href="reviewer_conf.jsp">Reviewer Confirmation</a></td>
				</tr>
				<tr>
					<td  bgcolor="#CCCCCC"><a href="paper_assign.jsp">Paper Status/Paper Assign</a></td>
				</tr>
				<tr>
					<td  bgcolor="#CCCCCC"><a href="member_decision.jsp">Decision</a></td>
				</tr>
				<tr>
					<td  bgcolor="#CCCCCC"><a href="modify_info.jsp">Modify Information</a></td>
				</tr>
				<tr>
					<td  bgcolor="#CCCCCC"><a href="../logout">Log Out</a></td>
				</tr>
			</table>
		</div>
		
		<div id="content" class="bg_color border" >
			<p><b>View Note</b></p>
			<%
				int paper_id = Integer.parseInt(request.getParameter("paper_id"));
				int reviewer_id = Integer.parseInt(request.getParameter("reviewer_id"));
				HashMap map = impl.member_see_note(paper_id,reviewer_id); 
			%>
			<div style="margin:15px">
			paper id:<%=paper_id%>
			<br>
			<p align='left'><b>1:Suggestion to author</b></p>
			<p align='left'>
			<%
				String to_author = (String)map.get("to_author");
				if(to_author==""){
					out.print("<font color='red'>No Information!</font>");
				}else{
					out.print(to_author);
				}
			 %></p>
			 <hr>
			 <p align='left'><b>2:Suggestion to PC member</b></p>
			 <p align='left'>
			<%
				String to_member = (String)map.get("to_member");
				if(to_member==""){
					out.print("<font color='red'>No Information!</font>");
				}else{
					out.print(to_member);
				}
			 %></p>
			 <br>
			 <a href="javascript:history.back(-1)">Back</a>
			 
			</div>
			
		</div>
		
		<div class="nav"></div>
			
		<div id="footer" class="footer_color border">
			<p align="center"><b>&copy;2010 LSMS-All Rights Reserved.</b></p>
			<p align="center"> <b>Powered by Shu.</b></p>
		</div>
	</div>
  </body>
</html>
